import Vue from 'vue'
import Router from 'vue-router'
import Game from '@/page/game'
import Hello from '@/page/hello'
import UserComment from '../page/userComment'
import Game21 from '../page/game21'
import GoldenFlowers from '../page/GoldenFlowers'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'hello',
      component: Hello
    },
    {
      path: '/2048',
      name: '2048',
      component: Game
    },
    {
      path: '/userComment',
      name: 'userComment',
      component: UserComment
    },
    {
      path: '/game21',
      name: 'game21',
      component: Game21
    },
    {
      path: '/goldenFlowers',
      name: 'goldenFlowers',
      component: GoldenFlowers
    }
  ]
})
